
package com.farent.solutions.plugins.stripes.hyperstripes.core.ajax;

public class AjaxResponse {

    private AjaxResponseChanges changes;
    private AjaxResponseRedirect redirect;
    private AjaxResponseError error;

    /**
     * Gets the value of the changes property.
     * 
     * @return
     *     possible object is
     *     {@link AjaxResponseChanges }
     *     
     */
    public AjaxResponseChanges getChanges() {
        if( changes == null)
        {
            changes = new AjaxResponseChanges();
        }
        return changes;
    }

    /**
     * Gets the value of the redirect property.
     * 
     * @return
     *     possible object is
     *     {@link AjaxResponseRedirectType }
     *     
     */
    public AjaxResponseRedirect getRedirect() {
        return redirect;
    }

    /**
     * Sets the value of the redirect property.
     * 
     * @param value
     *     allowed object is
     *     {@link AjaxResponseRedirectType }
     *     
     */
    public void setRedirect(AjaxResponseRedirect value) {
        this.redirect = value;
    }

    /**
     * Gets the value of the error property.
     * 
     * @return
     *     possible object is
     *     {@link AjaxResponseErrorType }
     *     
     */
    public AjaxResponseError getError() {
        return error;
    }

    /**
     * Sets the value of the error property.
     * 
     * @param value
     *     allowed object is
     *     {@link AjaxResponseErrorType }
     *     
     */
    public void setError(AjaxResponseError value) {
        this.error = value;
    }

}
